body, input, textarea, select, button {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif';
  font-weight: 400;
}

/* 基础字体和全局设置 */
html, body, body.all-page, input, textarea, select, button {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif';
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body {
  -webkit-font-smoothing: antialiased;
  width: 320px;
  margin: 10px;
  background: #f7f8fa;
}
body.all-page {
  width: auto;
  min-width: 320px;
  max-width: 100vw;
  margin: 10px;
  background: #f7f8fa;
}

#allTaskContainer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  color: #1677ff;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif';
}
form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 10px;
}
input, textarea, select {
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1px solid #1677ff;
}
button {
  font-size: 12px;
  padding: 2px 10px;
  border: none;
  border-radius: 4px;
  background: #1677ff;
  color: #fff;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif';
  font-weight: 500;
}
button:hover {
  background: #4096ff;
}
button[type="submit"] {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #1677ff 60%, #69b1ff 100%);
  box-shadow: 0 2px 8px rgba(22,119,255,0.08);
  color: #fff;
  border: none;
  margin: 8px 0 0 0;
  width: 100%;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #4096ff 60%, #91caff 100%);
  box-shadow: 0 4px 16px rgba(22,119,255,0.15);
}
ul {
  list-style: none;
  padding: 0;
}
li {
  background: #fff;
  border: 1px solid #f0f0f0;
  margin: 6px 0;
  padding: 8px 8px 8px 12px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}
li.completed {
  opacity: 0.6;
  background: #e6f4ff;
  border-color: #91caff;
}
.task-title {
  font-weight: 500;
  color: #222;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', 'sans-serif';
}
.task-status {
  font-size: 12px;
  color: #52c41a;
  margin-left: 8px;
}
.task-status.in-progress {
  color: #1677ff;
}
.task-status.pending {
  color: #faad14;
}
.task-desc {
  color: #888;
  font-size: 13px;
  margin: 2px 0 0 0;
  padding-left: 2px;
}
.btn-group {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
button.complete-btn {
  background: #52c41a;
  color: #fff;
  padding: 2px 8px;
}
button.complete-btn:hover {
  background: #73d13d;
}
button.delete-btn {
  background: #ff4d4f;
  color: #fff;
  padding: 2px 8px;
}
button.delete-btn:hover {
  background: #ff7875;
}
button.done-btn {
  background: #52c41a;
  color: #fff;
  padding: 2px 8px;
}
button.done-btn:hover {
  background: #73d13d;
}
.all-task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}
.all-task-list > li {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 1fr;
  box-sizing: border-box;
  margin: 0;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.all-task-list .list-title {
  flex: 1 1 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin: 8px 0 2px 0;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.all-task-list .in-progress-title {
  color: #111 !important;
  background: none;
  border-radius: 0;
  font-weight: bold;
}
.all-task-list .done-title {
  color: #111 !important;
  background: none;
  border-radius: 0;
  margin-top: 12px;
  font-weight: bold;
}
.all-task-list .pending-title { color: #faad14; margin-top: 12px; }
.all-task-list .list-title { color: #aaa; } 